package com.example;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

/**
 * Created with IntelliJ IDEA.
 * User: Jasic_Work
 * Date: 12-8-22
 * Time: 下午4:46
 * To change this template use File | Settings | File Templates.
 */
public class Activity02 extends Activity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity);
        Intent intent = getIntent();

        TextView textView = (TextView)findViewById(R.id.TextView);
        textView.setText(intent.getStringExtra("test"));

    }
}
